package com.crmxprovider.service;

import com.alibaba.dubbo.config.annotation.Service;

import com.crmxprovider.dao.BorrowDao;
import com.pojo.Borrow;
import com.service.BorrowService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
@Service(interfaceClass = BorrowService.class)
public class BorrowServiceimpl implements BorrowService {

    @Resource
    private BorrowDao borrowDao;

    @Override
    public List<Borrow> getborrow() {
        return borrowDao.getborrow();
    }


}
